﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Khoasongay.ascx.cs" Inherits="WebUserControl_Khoasongay" %>
<%@ Register src="uscTitleForm.ascx" tagname="uscTitleForm" tagprefix="uc1" %>
<%@ Register src="uscMsgBox.ascx" tagname="uscMsgBox" tagprefix="uc2" %>
<link rel="stylesheet" href='<%=ResolveUrl("~/LayoutCss/K_BaoCaoFormLayout.css")%>' type="text/css" />

<script type="text/javascript">
     function pageLoad() {
      $("#<%= Button1.ClientID %>").click(function() { 
        $.blockUI({
             message: '<h1>Xin vui lòng chờ xử lý</h1>', 
            css: { 
            border: 'none', 
            padding: '15px', 
            backgroundColor: '#f00', 
            opacity: .5, 
            color: '#fff' 
        } }); 
        }); 
       
     
        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
                function EndRequestHandler(sender, args) {
                        $.unblockUI();
                }
        }  
   
</script> 

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
  <fieldset>
    <legend>Khóa sổ ngày</legend>
    <div class="fm-req">
      <label for="txtFromDate">Trung tâm phân phối:</label>
            <asp:DropDownList ID="DropTTPP" Enabled="false" runat="server" Width="150px">
            </asp:DropDownList>
    </div> 
    <div class="fm-req">
      <label for="txtLastClosedDate">Ngày khóa sổ cuối cùng:</label>
        <asp:TextBox ID="txtLastClosedDate" BackColor="Yellow" ReadOnly="true" runat="server"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Width="100px"    Text="Khóa sổ" />
    </div> 
    </fieldset>
    
</ContentTemplate>
</asp:UpdatePanel>
           
<uc2:uscMsgBox ID="uscMsgBox1" runat="server" />





